package net.sudot.chess.business.wechat.dto;

import me.chanjar.weixin.common.util.json.WxGsonBuilder;

import java.io.Serializable;

/**
 * 菜单的dto对象
 *
 * @author tangjialin on 2017-05-04 0004.
 */
public class WxMenuKey implements Serializable {
    private String type;
    private String content;


    public WxMenuKey() {

    }

    public WxMenuKey(String type, String content) {
        this.type = type;
        this.content = content;
    }

    @Override
    public String toString() {
        return WxGsonBuilder.create().toJson(this);
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

}
